/* 炫酷时钟样式代码 */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #060a1f;
}
/* 我想换个背景样式 */
.bgColor{
    color: #ffffff;
    text-align: right;
    margin-top: 50px;
    margin-right: 100px;
    cursor: pointer;
}

.color i{
    padding-right: 10px;
}

/* 时钟主体样式 */
h2{
    position: relative;
    display: block;
    color: #fff;
    text-align: center;
    margin-top: 100px;
    /*margin: 10px 0;*/
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 1.3em;
}
#clock{
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#clock #time{
    display: flex;
}
#clock #time div{
    position: relative;
    margin: 0 5px;
    -webkit-box-reflect:below 1px linear-gradient(transparent,#0004);
}
#clock #time div span{
    position: relative;
    display: block;
    width: 250px;
    height: 200px;
    background: #2196f3;
    color: #fff;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8em;
    z-index: 10;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
#clock #time div span:nth-child(2){
    height: 30px;
    font-size: 1.2em;
    letter-spacing: 0.2em;
    font-weight: 500;
    z-index: 9;
    box-shadow: none;
    background: #127fd6;
    text-transform: uppercase;
}
#clock #time div:last-child span{
    background: #ff006a;
}
#clock #time div:last-child span:nth-child(2){
    background: #ec0062;
}
